package org.example.service.impl;

import org.example.domain.Dept;
import org.example.service.DeptService;
import org.example.mapper.DeptMapper;
import org.example.vo.DeptVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 程思彤
 * @description 针对表【sys_dept】的数据库操作Service实现
 * @createDate 2024-05-27 20:13:08
 */
@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptMapper deptMapper;

    public List<DeptVo> listAll(Dept dept) {
        return deptMapper.listAll(dept);
    }
}




